package com.sanyang.lawyer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @program: lawyer
 * @description: 发票
 * @author: lql
 * @create: 2019-10-10 17:55
 **/
@Data
@TableName(value = "finance_invoice")
public class Finance_invoice {

    //发票id
    @TableId(value = "invoiceId",type = IdType.INPUT)
    private int invoiceId;
    //发票金额
    private Double invoiceMoney;
    //申请日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date applectionDate;
    //开票日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date invoiceDate;
    //开票状态
    private String invoiceStatus;
    //发票号
    private String invoiceNumber;
    //开具类型
    @TableField(exist = false)
    private Finance_open_invoice openTypeId;
    //发票类型
    @TableField(exist = false)
    private Finance_invoice_type invoiceTypeId;
    //开票项目
    @TableField(exist = false)
    private Finance_open_project projectId;
    //纳税人识别号
    private String taxPayerIdemtity;
    //基本开户银行
    private String basicBank;
    //注册地址
    private String registerdAddress;
    //固定电话
    private String fixedlineTelephone;
    //案件id
    @TableField(exist = false)
    private Case_law caseId;
    //申请备注
    private String applicationRemark;
    //开票备注
    private String invoiceRemark;
    //基本开户账号
    private String accountNumber;
    //发票抬头
    private String invoiceTitle;
    //税务登记
    @TableField(exist = false)
    private String  taxId;
    //案件类型
    @TableField(exist = false)
    private Case_type caseTypeid;
}
